package com.backstage.entity.po;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangkun
 * @since 2017-11-16
 */
@TableName("sys_role_permission")
public class SysRolePermission extends BasePoEntity implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableField(value="id")
	private String id;
    /**
     * 角色id
     */
	@TableField("sys_role_id")
	private String sysRoleId;
    /**
     * 权限id
     */
	@TableField("sys_permission_id")
	private String sysPermissionId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSysRoleId() {
		return sysRoleId;
	}

	public void setSysRoleId(String sysRoleId) {
		this.sysRoleId = sysRoleId;
	}

	public String getSysPermissionId() {
		return sysPermissionId;
	}

	public void setSysPermissionId(String sysPermissionId) {
		this.sysPermissionId = sysPermissionId;
	}


	@Override
	public String toString() {
		return "SysRolePermission{" +
			", id=" + id +
			", sysRoleId=" + sysRoleId +
			", sysPermissionId=" + sysPermissionId +
			"}";
	}
}
